package com.itheima.sh.a_parent_01;

public class Demo01 {
    public static void main(String[] args) {
        Student s = new Student();
        System.out.println("===演员介绍====");
        s.setName("强哥");
        s.setAge(22);
        s.setGerden("男");
        System.out.println("男主演："+s.getName() + "," + s.getAge() + "," + s.getGerden());
        s.workStedent();
        Teacher tea = new Teacher();
        tea.setName("Hong kong  dall ");
        tea.setAge(18);
        tea.setGerden("女");
        System.out.println("强哥的玩具：" + tea.getName() + "," + tea.getAge() + "," + tea.getGerden());
        tea.workTeacher();
    }
}
